using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace UTLBASEFORM
{
    public partial class MDIDIALOG : DevComponents.DotNetBar.Office2007Form
    {
        public MDIDIALOG()
        {
            InitializeComponent();
        }

        #region BTN1 Define
        /// <summary>
        /// BTN1 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void btn1_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN1 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowBTN1(string textlabel, string imgname)
        {
            this.btn1.Visible = true;
            this.btn1.Text = textlabel;
            this.btn1.Image = MDICHILD.getImage(imgname);
            this.btn1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.btn1.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN1 Hide.
        /// </summary>
        public void HideBTN1()
        {
            this.btn1.Visible = false;
        }
        /// <summary>
        /// BTN1 Enable.
        /// </summary>
        public void EnableBTN1()
        {
            this.btn1.Enabled = true;
        }
        /// <summary>
        /// BTN1 Disable.
        /// </summary>
        public void DisableBTN1()
        {
            this.btn1.Enabled = false;
        }
        #endregion
        #region BTN2 Define
        /// <summary>
        /// BTN2 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void btn2_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN2 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowBTN2(string textlabel, string imgname)
        {
            this.btn2.Visible = true;
            this.btn2.Text = textlabel;
            this.btn2.Image = MDICHILD.getImage(imgname);
            this.btn2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.btn2.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN2 Hide.
        /// </summary>
        public void HideBTN2()
        {
            this.btn2.Visible = false;
        }
        /// <summary>
        /// BTN2 Enable.
        /// </summary>
        public void EnableBTN2()
        {
            this.btn2.Enabled = true;
        }
        /// <summary>
        /// BTN2 Disable.
        /// </summary>
        public void DisableBTN2()
        {
            this.btn2.Enabled = false;
        }
        #endregion
        #region BTN3 Define
        /// <summary>
        /// BTN3 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void btn3_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN3 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowBTN3(string textlabel, string imgname)
        {
            this.btn3.Visible = true;
            this.btn3.Text = textlabel;
            this.btn3.Image = MDICHILD.getImage(imgname);
            this.btn3.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.btn3.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN3 Hide.
        /// </summary>
        public void HideBTN3()
        {
            this.btn3.Visible = false;
        }
        /// <summary>
        /// BTN3 Enable.
        /// </summary>
        public void EnableBTN3()
        {
            this.btn3.Enabled = true;
        }
        /// <summary>
        /// BTN3 Disable.
        /// </summary>
        public void DisableBTN3()
        {
            this.btn3.Enabled = false;
        }
        #endregion
        #region BTN4 Define
        /// <summary>
        /// BTN4 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void btn4_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN4 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowBTN4(string textlabel, string imgname)
        {
            this.btn4.Visible = true;
            this.btn4.Text = textlabel;
            this.btn4.Image = MDICHILD.getImage(imgname);
            this.btn4.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.btn4.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN4 Hide.
        /// </summary>
        public void HideBTN4()
        {
            this.btn4.Visible = false;
        }
        /// <summary>
        /// BTN4 Enable.
        /// </summary>
        public void EnableBTN4()
        {
            this.btn4.Enabled = true;
        }
        /// <summary>
        /// BTN4 Disable.
        /// </summary>
        public void DisableBTN4()
        {
            this.btn4.Enabled = false;
        }
        #endregion
        #region BTN5 Define
        /// <summary>
        /// BTN5 Click.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param> 
        protected virtual void btn5_Click(object sender, EventArgs e)
        {
        }
        /// <summary>
        /// BTN5 Show.
        /// </summary>
        /// <param name="textlabel">Lable to show to screen of the button</param>
        ///<param name="imgname">Image name to show</param>
        public void ShowBTN5(string textlabel, string imgname)
        {
            this.btn5.Visible = true;
            this.btn5.Text = textlabel;
            this.btn5.Image = MDICHILD.getImage(imgname);
            this.btn5.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
            this.btn5.Tooltip = textlabel;
        }
        /// <summary>
        /// BTN5 Hide.
        /// </summary>
        public void HideBTN5()
        {
            this.btn5.Visible = false;
        }
        /// <summary>
        /// BTN5 Enable.
        /// </summary>
        public void EnableBTN5()
        {
            this.btn5.Enabled = true;
        }
        /// <summary>
        /// BTN5 Disable.
        /// </summary>
        public void DisableBTN5()
        {
            this.btn5.Enabled = false;
        }
        #endregion
        
        
    }
}